﻿using System;

namespace HigLabo.Net.WindowsLive
{
    /// <summary>
    /// 
    /// </summary>
    public class GetTagsCommnad : WindowsLiveCommand
    {
        /// <summary>
        /// 
        /// </summary>
        public override string GraphApiPath
        {
            get
            {
                if (!HttpClient.IsNullOrWhiteSpace(ResourceID))
                    return this.ResourceID + "/tags";
                else
                    return "me/tags";
            }
        }
        /// <summary>
        /// 
        /// </summary>
        public String ResourceID { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public GetTagsCommnad()
        {
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="resourceID"></param>
        public GetTagsCommnad(String resourceID)
        {
            this.ResourceID = resourceID;
        }
    }
}
